package com.cake.ssm.dao;

import com.cake.ssm.po.Coupon;

import java.util.Collection;
import java.util.List;

/**
 * Created by lijiawang1 on 2017/4/23.
 */
public interface CouponMapper {
    public void InsertCoupon(Coupon coupon)throws Exception;
    public List<Coupon> SelectAllCoupon() throws Exception;
    public Coupon SelectByCouponId(String id) throws Exception;
    public void  DeleteCoupon(String id) throws Exception;
    public void UpdateCoupon(Coupon coupon)throws Exception;
}
